<p id="notice"><%= notice %></p>

<h2><%= @deck.name %></h2>

<% @cards.each do |c| %>
  <p>
  <%=h c.text %>
  </p>
<% end %>

<%= link_to "edit", edit_deck_path %>

<%= link_to 'Destroy', @deck, method: :delete, data: { confirm: 'Are you sure?' } %>
